package com.yhsoft.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yhsoft.mall.controller.request.*;
import com.yhsoft.mall.controller.response.ModuleInfoOutVo;
import com.yhsoft.mall.entity.ModuleInfo;
import com.yhsoft.sys.entity.BaicInterfaceConfig;

/**
 * <p>
 * 模块信息表 服务类
 * </p>
 *
 * @author yyyyyyyh
 * @since 2023-10-08
 */
public interface IModuleInfoService extends IService<ModuleInfo> {

    void addSearchBar(SearchBarInVo inVo);

    void updateSearchBar(SearchBarInVo inVo);

    void addSlideBar(SlideBarInVo inVo);

    void updateSlideBar(SlideBarInVo inVo);

    void addNoticeBar(NoticeBarInVo inVo);

    void updateNoticeBar(NoticeBarInVo inVo);

    void addMenuBar(MenuBarInVo inVo);

    void updateMenuBar(MenuBarInVo inVo);

    void addHotBar(HotBarInVo inVo);

    void updateHotBar(HotBarInVo inVo);

    void addGoodsBar(GoodsBarInVo inVo);

    void updateGoodsBar(GoodsBarInVo inVo);

    ModuleInfoOutVo getModuleInfo(String appId);

    BaicInterfaceConfig getBaicInterfaceConfig(Integer companyId);

    boolean exists(String BarName);
}
